.y-user-profile {
    --theme-color: #456dea;

    display: flex;
    flex-direction: column;
    padding: 30rpx 50rpx;
    gap: 30rpx;
    pointer-events: all;

    &__head {
        display: flex;
        flex-direction: column;
        gap: 20rpx;

        &-title {
            font-size: 36rpx;
            font-weight: bold;
        }

        &-desc {
            font-size: 28rpx;
            color: #999;
        }
    }

    &__body {
        display: flex;
        flex-direction: column;
        gap: 60rpx;

        .y-btn-empty {
            padding: 20rpx;
        }

        &-avatar {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 180rpx;
            height: 180rpx;
            border: 10rpx solid #fff;
            box-shadow: rgba(100, 100, 111, 0.2) 0rpx 7rpx 29rpx 0rpx;
            border-radius: 50%;
            background-color: #f0f0f0;
            // overflow: hidden;
            position: relative;

            image {
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 50%;
            }

            .icon {
                position: absolute;
                right: 0;
                bottom: 0;
                width: 40rpx;
                height: 40rpx;
                background-color: #333;
                border-radius: 50%;
                border: 5rpx solid #fff;
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }

        &-input {
            background-color: #f6f7f6;
            line-height: 80rpx;
            height: 80rpx;
            border-radius: 10rpx;
            padding: 0 20rpx;
            font-size: 30rpx;
        }
    }
}

// 无样式btn
.y-btn-empty {
    background: none;
    border: none;
    color: inherit;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;

    &::after {
        border: none;
    }
}


.y-input-placeholder {
    color: #999;
    font-size: 30rpx;
}


.y-submit {
    background-color: var(--theme-color);
    color: #fff;
    border-radius: 10rpx;
    padding: 10rpx 20rpx;
    font-size: 30rpx;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;

    &:active {
        opacity: .7;
    }

    &::after {
        border: none;
    }
}